<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
</head>
<body>
<h1>首页</h1>
<a th:href="@{/hello}">hello</a><br>
<a th:href="@{/hello1}">hello1</a><br>

<a th:href="@{/hello?username=admin}">param测试</a><br>
<a th:href="@{/aca/test/ant}">ant测试</a>

<form th:action="@{/post}" th:method="POST">
    <input type="text" name="username" value="username"><br>
    <input type="submit" value="提交">
</form>
<br>
<hr>
<br>
<form th:action="@{/param/pojo}" method="post">
    <label for="username">用户名</label>
    <input type="text" name="username" placeholder="用户名"><br>
    <label for="password">密&emsp;码</label>
    <input type="password" name="password" placeholder="密码"><br>
    <input type="submit" value="提交">
</form>
<br>
<hr>
<br>
<a th:href="@{/scope/mav}">ModelAndView向请求域共享数据</a><br>
<a th:href="@{/scope/model}">Model向请求域共享数据</a><br>
<a th:href="@{/scope/map}">Map向请求域共享数据</a><br>
<a th:href="@{/scope/model/map}">ModelMap向请求域共享数据</a><br>
<a th:href="@{/scope/session}">向会话域共享数据</a><br>
<a th:href="@{/scope/application}">向应用域共享数据</a><br>
<hr>
<a th:href="@{/test/view/thymeleaf}">测试SpringMVC的视图ThymeleafView</a>
<a th:href="@{/test/view/InternalResourceView}">测试SpringMVC的视图InternalResourceView</a>
<a th:href="@{/test/view/redirect}">测试SpringMVC的视图redirect</a>
</body>
</html>